package com.bwda.dsrs.filecenter.mapper.dsrs;

import com.bwda.dsrs.filecenter.domain.condition.dbscanresult.DbScanResultCondition;
import com.bwda.dsrs.filecenter.domain.po.dbscanresult.DbScanResultPo;

import java.util.List;

/**
 * Db scan result mapper
 * @author Administrator
 */
public interface DbScanResultMapper extends BaseMapper<DbScanResultPo, DbScanResultCondition> {
     /**
      * Select table column list list
      *
      * @param dbScanResultCondition db scan result condition
      * @return the list
      */
     List<DbScanResultPo> selectTableColumnList(DbScanResultCondition dbScanResultCondition);

     /**
      * Select distinct table list list
      *
      * @param dbScanResultCondition db scan result condition
      * @return the list
      */
     List<DbScanResultPo> selectDistinctTableList(DbScanResultCondition dbScanResultCondition);

     /**
      * Count distinct table integer
      *
      * @param dbScanResultCondition db scan result condition
      * @return the integer
      */
     Integer countDistinctTable(DbScanResultCondition dbScanResultCondition);

     /**
      * Count sens column integer
      *
      * @param dbScanResultCondition db scan result condition
      * @return the integer
      */
     Integer countSensColumn(DbScanResultCondition dbScanResultCondition);

     /**
      * Truncate *
      *
      * @param dbScanResultCondition db scan result condition
      */
     void truncate(DbScanResultCondition dbScanResultCondition);

     /**
      * Query db sr page list list
      *
      * @param dbScanResultCondition db scan result condition
      * @return the list
      */
     List<DbScanResultPo> queryDbSrPageList(DbScanResultCondition dbScanResultCondition);

     /**
      * 查询所有已经人工标识过的记录
      *
      * @param dbScanResultCondition db scan result condition
      * @return list
      */
     List<DbScanResultPo> queryApproveList(DbScanResultCondition dbScanResultCondition);
}